import React, { useEffect } from 'react'
import { Toast } from 'antd-mobile'

const Loading = () => {
  useEffect(() => {
    Toast.loading('loading')
    return () => {
      Toast.hide()
    }
  }, [])
  return <div></div>
}
export default Loading
